<%@page import="org.soenea.doitall.domain.model.person.Person"%>
<%@page import="java.util.List"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>View Person</title>
</head>
<body>
<h2>View Person</h2>
<p>
  <c:if test="${!empty warning}"> <b>Warning: </b> ${warning}<br />
  </c:if>
  ${person.userName} is ${person.firstName} ${person.lastName } is in group ${person.groupNum } </p>
<div>
  <form method="post" action="">
  	<div>
	    <input type="submit" name="button" id="button" value="Increase Age"/>
	    <input name="version" type="hidden" value="${person.version}"/>
	    <input name="command" type="hidden" value="IncreaseAge"/>
  	</div>
  </form>
  </div>
<p> Return to <a href="../buddy">browsing people</a> </p>
</body>
</html>